﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DAL;
using BLL;
using DAL.Linq;

namespace InvoiceManagement.Controllers
{
    public class SYS_GROUPController
    {
        private static ISYS_GROUP_Dao Sys_GroupController = DataAccess.SYS_GROUP_Dao;

        public bool Insert_Sys_Groups(string groupCode, string groupName, bool IsUse)
        {
            return Sys_GroupController.Insert_Sys_Groups(groupCode, groupName, IsUse);
        }

        public bool Update_Sys_Groups(int groupID, string groupCode, string groupName, bool isUse)
        {
            return Sys_GroupController.Update_Sys_Groups(groupID, groupCode, groupName, isUse);
        }

        public bool Delete_Sys_Groups(int groupID)
        {
            return Sys_GroupController.Delete_Sys_Groups(groupID);
        }

        public IList<SYS_GROUP> GetAll_Groups()
        {
            return Sys_GroupController.GetAll_Groups();
        }

       

    }
}
